package com.zxf.appliction.domain;

import java.util.Date;

public class Review {
    private Integer reviewid;

    private Integer articleid;

    private Integer userid;

    private Integer staffid;

    private String content;

    private Date adddata;
    private Integer replyid;

    
    public Review() {
		super();
	}

	public Review(Integer reviewid, Integer articleid, Integer userid, Integer staffid, String content, Date adddata,
			Integer replyid) {
		super();
		this.reviewid = reviewid;
		this.articleid = articleid;
		this.userid = userid;
		this.staffid = staffid;
		this.content = content;
		this.adddata = adddata;
		this.replyid = replyid;
	}

	public Integer getReplyid() {
		return replyid;
	}

	public void setReplyid(Integer replyid) {
		this.replyid = replyid;
	}

	public Integer getReviewid() {
        return reviewid;
    }

    public void setReviewid(Integer reviewid) {
        this.reviewid = reviewid;
    }

    public Integer getArticleid() {
        return articleid;
    }

    public void setArticleid(Integer articleid) {
        this.articleid = articleid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getStaffid() {
        return staffid;
    }

    public void setStaffid(Integer staffid) {
        this.staffid = staffid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getAdddata() {
        return adddata;
    }

    public void setAdddata(Date adddata) {
        this.adddata = adddata;
    }

	@Override
	public String toString() {
		return "Review [reviewid=" + reviewid + ", articleid=" + articleid + ", userid=" + userid + ", staffid="
				+ staffid + ", content=" + content + ", adddata=" + adddata + ", replyid=" + replyid + "]";
	}
    
}